package cn.cena.mapper;

import cn.cena.domain.Meal;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * <p>
 * 套餐表 Mapper 接口
 * </p>
 *
 * @author yu
 * @since 2021-11-22
 */
public interface MealMapper extends BaseMapper<Meal> {

    /**
     *  保存Login和Meal关系表
     * @param loginId
     * @param mealId
     * @param expireDate
     * @param state
     */
    void saveRelationLogin2Meal(@Param("loginId") Long loginId,
                                @Param("mealId") Long mealId,
                                @Param("expireDate") Date expireDate,
                                @Param("state") int state);
}
